Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR] Reactivating Review Apps to check if it works. #421

Closed
wants to merge 1 commit into from

Conversation

LuchoTurtle
Copy link
Member

closes #407

Reactivating the Review Apps and API definition tests to see if it's properly working again.

@LuchoTurtle LuchoTurtle added the chore a tedious but necessary task often paying technical debt label Sep 12, 2023
@LuchoTurtle LuchoTurtle self-assigned this Sep 12, 2023
@codecov
Copy link

codecov bot commented Sep 12, 2023

Codecov Report

Merging #421 (4fe9b8e) into main (b8aee0e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #421   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines          599       599           
=========================================
  Hits           599       599           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@LuchoTurtle
Copy link
Member Author

LuchoTurtle commented Sep 12, 2023

🤔 weird. I'm running the commands within the Review App on my local machine in a sequential fashion and it seems to deploy properly

image

Although, when trying to re-deploy again, it hangs when trying to attach the db to the app. This is because the database already exists.

$ flyctl postgres attach mvp-db -a mvp-pr-421    
                        
Checking for existing attachments
? Database "mvp_pr_421" already exists. Continue with the attachment process? Yes
Error: database user "mvp_pr_421" already exists. Please specify a new database user via --database-user

Even if I try to destroy it, I get the same error...

$ fly apps destroy mvp-pr-421     

Running fly pg db list -a mvp-db to list all databases yields this:

NAME                USERS 
mvp                   < too many users to list >
mvp_pr_         
mvp_pr_344      
mvp_pr_345      
mvp_pr_352      
mvp_pr_354      
mvp_pr_372      
mvp_pr_375      
mvp_pr_377      
mvp_pr_378      
mvp_pr_380      
mvp_pr_386      
mvp_pr_421      
mvp_review_test 
postgres        

@nelsonic
Copy link
Member

@LuchoTurtle the biggest issue with review apps isn't even the deployment ...
it's the fact that WebSockets don't work on the review app which means LiveView is useless.

@LuchoTurtle
Copy link
Member Author

@nelsonic that wasn't detailed in the aforementioned issue, hence why I tried to open this PR. But it's a fruitless pursuit, might as well close this one off.

@nelsonic
Copy link
Member

nelsonic commented Sep 12, 2023

I don't mean you should close it. Sorry if that was unclear.
would love Review Apps to work seamlessly. 🙏
But I don't think it's a "quick" thing ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore a tedious but necessary task often paying technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chore: Error: release command failed - aborting deployment [Review Apps]
2 participants